package org.harper.frm.data;

/**
 * 
 * Declare common mime types.
 * 
 * @author Harper Jiang
 * @version 1.0 
 * @since Component 1.1
 */
public enum MimeType {

	applicaiton_x_bytecode_python("applicaiton/x-bytecode.python"),
	application_acad("application/acad"),
	application_arj("application/arj"),
	application_base64("application/base64"),
	application_binhex("application/binhex"),
	application_binhex4("application/binhex4"),
	application_book("application/book"),
	application_cdf("application/cdf"),
	application_clariscad("application/clariscad"),
	application_commonground("application/commonground"),
	application_drafting("application/drafting"),
	application_dsptype("application/dsptype"),
	application_dxf("application/dxf"),
	application_envoy("application/envoy"),
	application_excel("application/excel"),
	application_fractals("application/fractals"),
	application_freeloader("application/freeloader"),
	application_futuresplash("application/futuresplash"),
	application_gnutar("application/gnutar"),
	application_groupwise("application/groupwise"),
	application_hlp("application/hlp"),
	application_hta("application/hta"),
	application_iges("application/iges"),
	application_inf("application/inf"),
	application_i_deas("application/i-deas"),
	application_java("application/java"),
	application_java_byte_code("application/java-byte-code"),
	application_lha("application/lha"),
	application_lzx("application/lzx"),
	application_macbinary("application/macbinary"),
	application_mac_binary("application/mac-binary"),
	application_mac_binhex("application/mac-binhex"),
	application_mac_binhex40("application/mac-binhex40"),
	application_mac_compactpro("application/mac-compactpro"),
	application_marc("application/marc"),
	application_mbedlet("application/mbedlet"),
	application_mcad("application/mcad"),
	application_mime("application/mime"),
	application_mspowerpoint("application/mspowerpoint"),
	application_msword("application/msword"),
	application_mswrite("application/mswrite"),
	application_netmc("application/netmc"),
	application_octet_stream("application/octet-stream"),
	application_oda("application/oda"),
	application_pdf("application/pdf"),
	application_pkcs10("application/pkcs10"),
	application_pkcs7_mime("application/pkcs7-mime"),
	application_pkcs7_signature("application/pkcs7-signature"),
	application_pkcs_12("application/pkcs-12"),
	application_pkcs_crl("application/pkcs-crl"),
	application_pkix_cert("application/pkix-cert"),
	application_pkix_crl("application/pkix-crl"),
	application_plain("application/plain"),
	application_postscript("application/postscript"),
	application_powerpoint("application/powerpoint"),
	application_pro_eng("application/pro_eng"),
	application_ringing_tones("application/ringing-tones"),
	application_rtf("application/rtf"),
	application_sdp("application/sdp"),
	application_sea("application/sea"),
	application_set("application/set"),
	application_sla("application/sla"),
	application_smil("application/smil"),
	application_solids("application/solids"),
	application_sounder("application/sounder"),
	application_step("application/step"),
	application_streamingmedia("application/streamingmedia"),
	application_toolbook("application/toolbook"),
	application_vda("application/vda"),
	application_vnd_fdf("application/vnd.fdf"),
	application_vnd_hp_hpgl("application/vnd.hp-hpgl"),
	application_vnd_hp_pcl("application/vnd.hp-pcl"),
	application_vnd_ms_excel("application/vnd.ms-excel"),
	application_vnd_ms_pki_certstore("application/vnd.ms-pki.certstore"),
	application_vnd_ms_pki_pko("application/vnd.ms-pki.pko"),
	application_vnd_ms_pki_seccat("application/vnd.ms-pki.seccat"),
	application_vnd_ms_pki_stl("application/vnd.ms-pki.stl"),
	application_vnd_ms_powerpoint("application/vnd.ms-powerpoint"),
	application_vnd_ms_project("application/vnd.ms-project"),
	application_vnd_nokia_configuration_message("application/vnd.nokia.configuration-message"),
	application_vnd_nokia_ringing_tone("application/vnd.nokia.ringing-tone"),
	application_vnd_rn_realmedia("application/vnd.rn-realmedia"),
	application_vnd_rn_realplayer("application/vnd.rn-realplayer"),
	application_vnd_wap_wmlc("application/vnd.wap.wmlc"),
	application_vnd_wap_wmlscriptc("application/vnd.wap.wmlscriptc"),
	application_vnd_xara("application/vnd.xara"),
	application_vocaltec_media_desc("application/vocaltec-media-desc"),
	application_vocaltec_media_file("application/vocaltec-media-file"),
	application_wordperfect("application/wordperfect"),
	application_wordperfect6_0("application/wordperfect6.0"),
	application_wordperfect6_1("application/wordperfect6.1"),
	application_xml("application/xml"),
	application_x_123("application/x-123"),
	application_x_aim("application/x-aim"),
	application_x_authorware_bin("application/x-authorware-bin"),
	application_x_authorware_map("application/x-authorware-map"),
	application_x_authorware_seg("application/x-authorware-seg"),
	application_x_bcpio("application/x-bcpio"),
	application_x_binary("application/x-binary"),
	application_x_binhex40("application/x-binhex40"),
	application_x_bsh("application/x-bsh"),
	application_x_bytecode_elisp__compiled_elisp_("application/x-bytecode.elisp (compiled elisp)"),
	application_x_bzip("application/x-bzip"),
	application_x_bzip2("application/x-bzip2"),
	application_x_cdf("application/x-cdf"),
	application_x_cdlink("application/x-cdlink"),
	application_x_chat("application/x-chat"),
	application_x_cmu_raster("application/x-cmu-raster"),
	application_x_cocoa("application/x-cocoa"),
	application_x_compactpro("application/x-compactpro"),
	application_x_compress("application/x-compress"),
	application_x_compressed("application/x-compressed"),
	application_x_conference("application/x-conference"),
	application_x_cpio("application/x-cpio"),
	application_x_cpt("application/x-cpt"),
	application_x_csh("application/x-csh"),
	application_x_deepv("application/x-deepv"),
	application_x_director("application/x-director"),
	application_x_dvi("application/x-dvi"),
	application_x_elc("application/x-elc"),
	application_x_envoy("application/x-envoy"),
	application_x_esrehber("application/x-esrehber"),
	application_x_excel("application/x-excel"),
	application_x_frame("application/x-frame"),
	application_x_freelance("application/x-freelance"),
	application_x_gsp("application/x-gsp"),
	application_x_gss("application/x-gss"),
	application_x_gtar("application/x-gtar"),
	application_x_gzip("application/x-gzip"),
	application_x_hdf("application/x-hdf"),
	application_x_helpfile("application/x-helpfile"),
	application_x_httpd_imap("application/x-httpd-imap"),
	application_x_ima("application/x-ima"),
	application_x_internett_signup("application/x-internett-signup"),
	application_x_inventor("application/x-inventor"),
	application_x_ip2("application/x-ip2"),
	application_x_javascript("application/x-javascript"),
	application_x_java_class("application/x-java-class"),
	application_x_java_commerce("application/x-java-commerce"),
	application_x_koan("application/x-koan"),
	application_x_ksh("application/x-ksh"),
	application_x_latex("application/x-latex"),
	application_x_lha("application/x-lha"),
	application_x_lisp("application/x-lisp"),
	application_x_livescreen("application/x-livescreen"),
	application_x_lotus("application/x-lotus"),
	application_x_lotusscreencam("application/x-lotusscreencam"),
	application_x_lzh("application/x-lzh"),
	application_x_lzx("application/x-lzx"),
	application_x_macbinary("application/x-macbinary"),
	application_x_mac_binhex40("application/x-mac-binhex40"),
	application_x_magic_cap_package_1_0("application/x-magic-cap-package-1.0"),
	application_x_mathcad("application/x-mathcad"),
	application_x_meme("application/x-meme"),
	application_x_midi("application/x-midi"),
	application_x_mif("application/x-mif"),
	application_x_mix_transfer("application/x-mix-transfer"),
	application_x_mplayer2("application/x-mplayer2"),
	application_x_msexcel("application/x-msexcel"),
	application_x_mspowerpoint("application/x-mspowerpoint"),
	application_x_navidoc("application/x-navidoc"),
	application_x_navimap("application/x-navimap"),
	application_x_navistyle("application/x-navistyle"),
	application_x_navi_animation("application/x-navi-animation"),
	application_x_netcdf("application/x-netcdf"),
	application_x_newton_compatible_pkg("application/x-newton-compatible-pkg"),
	application_x_nokia_9000_communicator_add_on_software("application/x-nokia-9000-communicator-add-on-software"),
	application_x_omc("application/x-omc"),
	application_x_omcdatamaker("application/x-omcdatamaker"),
	application_x_omcregerator("application/x-omcregerator"),
	application_x_pagemaker("application/x-pagemaker"),
	application_x_pcl("application/x-pcl"),
	application_x_pixclscript("application/x-pixclscript"),
	application_x_pkcs10("application/x-pkcs10"),
	application_x_pkcs12("application/x-pkcs12"),
	application_x_pkcs7_certificates("application/x-pkcs7-certificates"),
	application_x_pkcs7_certreqresp("application/x-pkcs7-certreqresp"),
	application_x_pkcs7_mime("application/x-pkcs7-mime"),
	application_x_pkcs7_signature("application/x-pkcs7-signature"),
	application_x_pointplus("application/x-pointplus"),
	application_x_portable_anymap("application/x-portable-anymap"),
	application_x_project("application/x-project"),
	application_x_qpro("application/x-qpro"),
	application_x_rtf("application/x-rtf"),
	application_x_sdp("application/x-sdp"),
	application_x_sea("application/x-sea"),
	application_x_seelogo("application/x-seelogo"),
	application_x_sh("application/x-sh"),
	application_x_shar("application/x-shar"),
	application_x_shockwave_flash("application/x-shockwave-flash"),
	application_x_sit("application/x-sit"),
	application_x_sprite("application/x-sprite"),
	application_x_stuffit("application/x-stuffit"),
	application_x_sv4cpio("application/x-sv4cpio"),
	application_x_sv4crc("application/x-sv4crc"),
	application_x_tar("application/x-tar"),
	application_x_tbook("application/x-tbook"),
	application_x_tcl("application/x-tcl"),
	application_x_tex("application/x-tex"),
	application_x_texinfo("application/x-texinfo"),
	application_x_troff("application/x-troff"),
	application_x_troff_man("application/x-troff-man"),
	application_x_troff_me("application/x-troff-me"),
	application_x_troff_ms("application/x-troff-ms"),
	application_x_troff_msvideo("application/x-troff-msvideo"),
	application_x_ustar("application/x-ustar"),
	application_x_visio("application/x-visio"),
	application_x_vnd_audioexplosion_mzz("application/x-vnd.audioexplosion.mzz"),
	application_x_vnd_ls_xpix("application/x-vnd.ls-xpix"),
	application_x_vrml("application/x-vrml"),
	application_x_wais_source("application/x-wais-source"),
	application_x_winhelp("application/x-winhelp"),
	application_x_wintalk("application/x-wintalk"),
	application_x_world("application/x-world"),
	application_x_wpwin("application/x-wpwin"),
	application_x_wri("application/x-wri"),
	application_x_x509_ca_cert("application/x-x509-ca-cert"),
	application_x_x509_user_cert("application/x-x509-user-cert"),
	application_x_zip_compressed("application/x-zip-compressed"),
	application_zip("application/zip"),
	audio_aiff("audio/aiff"),
	audio_basic("audio/basic"),
	audio_it("audio/it"),
	audio_make("audio/make"),
	audio_make_my_funk("audio/make.my.funk"),
	audio_mid("audio/mid"),
	audio_midi("audio/midi"),
	audio_mod("audio/mod"),
	audio_mpeg("audio/mpeg"),
	audio_mpeg3("audio/mpeg3"),
	audio_nspaudio("audio/nspaudio"),
	audio_s3m("audio/s3m"),
	audio_tsplayer("audio/tsplayer"),
	audio_tsp_audio("audio/tsp-audio"),
	audio_vnd_qcelp("audio/vnd.qcelp"),
	audio_voc("audio/voc"),
	audio_voxware("audio/voxware"),
	audio_wav("audio/wav"),
	audio_xm("audio/xm"),
	audio_x_adpcm("audio/x-adpcm"),
	audio_x_aiff("audio/x-aiff"),
	audio_x_au("audio/x-au"),
	audio_x_gsm("audio/x-gsm"),
	audio_x_jam("audio/x-jam"),
	audio_x_liveaudio("audio/x-liveaudio"),
	audio_x_mid("audio/x-mid"),
	audio_x_midi("audio/x-midi"),
	audio_x_mod("audio/x-mod"),
	audio_x_mpeg("audio/x-mpeg"),
	audio_x_mpeg_3("audio/x-mpeg-3"),
	audio_x_mpequrl("audio/x-mpequrl"),
	audio_x_nspaudio("audio/x-nspaudio"),
	audio_x_pn_realaudio("audio/x-pn-realaudio"),
	audio_x_pn_realaudio_plugin("audio/x-pn-realaudio-plugin"),
	audio_x_psid("audio/x-psid"),
	audio_x_realaudio("audio/x-realaudio"),
	audio_x_twinvq("audio/x-twinvq"),
	audio_x_twinvq_plugin("audio/x-twinvq-plugin"),
	audio_x_vnd_audioexplosion_mjuicemediafile("audio/x-vnd.audioexplosion.mjuicemediafile"),
	audio_x_voc("audio/x-voc"),
	audio_x_wav("audio/x-wav"),
	chemical_x_pdb("chemical/x-pdb"),
	drawing_x_dwf__old_("drawing/x-dwf (old)"),
	image_bmp("image/bmp"),
	image_cmu_raster("image/cmu-raster"),
	image_fif("image/fif"),
	image_florian("image/florian"),
	image_g3fax("image/g3fax"),
	image_gif("image/gif"),
	image_ief("image/ief"),
	image_jpeg("image/jpeg"),
	image_jutvision("image/jutvision"),
	image_naplps("image/naplps"),
	image_pict("image/pict"),
	image_pjpeg("image/pjpeg"),
	image_png("image/png"),
	image_tiff("image/tiff"),
	image_vasa("image/vasa"),
	image_vnd_dwg("image/vnd.dwg"),
	image_vnd_fpx("image/vnd.fpx"),
	image_vnd_net_fpx("image/vnd.net-fpx"),
	image_vnd_rn_realflash("image/vnd.rn-realflash"),
	image_vnd_rn_realpix("image/vnd.rn-realpix"),
	image_vnd_wap_wbmp("image/vnd.wap.wbmp"),
	image_vnd_xiff("image/vnd.xiff"),
	image_xbm("image/xbm"),
	image_xpm("image/xpm"),
	image_x_cmu_raster("image/x-cmu-raster"),
	image_x_dwg("image/x-dwg"),
	image_x_icon("image/x-icon"),
	image_x_jg("image/x-jg"),
	image_x_jps("image/x-jps"),
	image_x_niff("image/x-niff"),
	image_x_pcx("image/x-pcx"),
	image_x_pict("image/x-pict"),
	image_x_portable_anymap("image/x-portable-anymap"),
	image_x_portable_bitmap("image/x-portable-bitmap"),
	image_x_portable_graymap("image/x-portable-graymap"),
	image_x_portable_greymap("image/x-portable-greymap"),
	image_x_portable_pixmap("image/x-portable-pixmap"),
	image_x_quicktime("image/x-quicktime"),
	image_x_rgb("image/x-rgb"),
	image_x_tiff("image/x-tiff"),
	image_x_windows_bmp("image/x-windows-bmp"),
	image_x_xbitmap("image/x-xbitmap"),
	image_x_xbm("image/x-xbm"),
	image_x_xpixmap("image/x-xpixmap"),
	image_x_xwd("image/x-xwd"),
	image_x_xwindowdump("image/x-xwindowdump"),
	i_world_i_vrml("i-world/i-vrml"),
	message_rfc822("message/rfc822"),
	model_iges("model/iges"),
	model_vnd_dwf("model/vnd.dwf"),
	model_vrml("model/vrml"),
	model_x_pov("model/x-pov"),
	multipart_x_gzip("multipart/x-gzip"),
	multipart_x_ustar("multipart/x-ustar"),
	multipart_x_zip("multipart/x-zip"),
	music_crescendo("music/crescendo"),
	music_x_karaoke("music/x-karaoke"),
	paleovu_x_pv("paleovu/x-pv"),
	text_asp("text/asp"),
	text_css("text/css"),
	text_html("text/html"),
	text_mcf("text/mcf"),
	text_pascal("text/pascal"),
	text_plain("text/plain"),
	text_richtext("text/richtext"),
	text_scriplet("text/scriplet"),
	text_sgml("text/sgml"),
	text_tab_separated_values("text/tab-separated-values"),
	text_uri_list("text/uri-list"),
	text_vnd_abc("text/vnd.abc"),
	text_vnd_fmi_flexstor("text/vnd.fmi.flexstor"),
	text_vnd_rn_realtext("text/vnd.rn-realtext"),
	text_vnd_wap_wml("text/vnd.wap.wml"),
	text_vnd_wap_wmlscript("text/vnd.wap.wmlscript"),
	text_webviewhtml("text/webviewhtml"),
	text_xml("text/xml"),
	text_x_asm("text/x-asm"),
	text_x_audiosoft_intra("text/x-audiosoft-intra"),
	text_x_c("text/x-c"),
	text_x_component("text/x-component"),
	text_x_fortran("text/x-fortran"),
	text_x_h("text/x-h"),
	text_x_java_source("text/x-java-source"),
	text_x_la_asf("text/x-la-asf"),
	text_x_m("text/x-m"),
	text_x_pascal("text/x-pascal"),
	text_x_script("text/x-script"),
	text_x_script_csh("text/x-script.csh"),
	text_x_script_elisp("text/x-script.elisp"),
	text_x_script_guile("text/x-script.guile"),
	text_x_script_ksh("text/x-script.ksh"),
	text_x_script_lisp("text/x-script.lisp"),
	text_x_script_perl("text/x-script.perl"),
	text_x_script_perl_module("text/x-script.perl-module"),
	text_x_script_phyton("text/x-script.phyton"),
	text_x_script_rexx("text/x-script.rexx"),
	text_x_script_scheme("text/x-script.scheme"),
	text_x_script_sh("text/x-script.sh"),
	text_x_script_tcl("text/x-script.tcl"),
	text_x_script_tcsh("text/x-script.tcsh"),
	text_x_script_zsh("text/x-script.zsh"),
	text_x_server_parsed_html("text/x-server-parsed-html"),
	text_x_setext("text/x-setext"),
	text_x_sgml("text/x-sgml"),
	text_x_speech("text/x-speech"),
	text_x_uil("text/x-uil"),
	text_x_uuencode("text/x-uuencode"),
	text_x_vcalendar("text/x-vcalendar"),
	video_animaflex("video/animaflex"),
	video_avi("video/avi"),
	video_avs_video("video/avs-video"),
	video_dl("video/dl"),
	video_fli("video/fli"),
	video_gl("video/gl"),
	video_mpeg("video/mpeg"),
	video_msvideo("video/msvideo"),
	video_quicktime("video/quicktime"),
	video_vdo("video/vdo"),
	video_vivo("video/vivo"),
	video_vnd_rn_realvideo("video/vnd.rn-realvideo"),
	video_vnd_vivo("video/vnd.vivo"),
	video_vosaic("video/vosaic"),
	video_x_amt_demorun("video/x-amt-demorun"),
	video_x_amt_showrun("video/x-amt-showrun"),
	video_x_atomic3d_feature("video/x-atomic3d-feature"),
	video_x_dl("video/x-dl"),
	video_x_dv("video/x-dv"),
	video_x_fli("video/x-fli"),
	video_x_gl("video/x-gl"),
	video_x_isvideo("video/x-isvideo"),
	video_x_motion_jpeg("video/x-motion-jpeg"),
	video_x_mpeg("video/x-mpeg"),
	video_x_mpeq2a("video/x-mpeq2a"),
	video_x_msvideo("video/x-msvideo"),
	video_x_ms_asf("video/x-ms-asf"),
	video_x_ms_asf_plugin("video/x-ms-asf-plugin"),
	video_x_qtc("video/x-qtc"),
	video_x_scm("video/x-scm"),
	video_x_sgi_movie("video/x-sgi-movie"),
	windows_metafile("windows/metafile"),
	www_mime("www/mime"),
	xgl_drawing("xgl/drawing"),
	xgl_movie("xgl/movie"),
	x_conference_x_cooltalk("x-conference/x-cooltalk"),
	x_music_x_midi("x-music/x-midi"),
	x_world_x_3dmf("x-world/x-3dmf"),
	x_world_x_svr("x-world/x-svr"),
	x_world_x_vrml("x-world/x-vrml"),
	x_world_x_vrt("x-world/x-vrt");
	
	
	final String fullName;
	
	MimeType(String fullName) {
		this.fullName = fullName;
	}
	
	public String fullName() {
		return fullName;
	}
	
	public boolean match(String nameToMatch) {
		return this.fullName.equals(nameToMatch.toLowerCase());
	}
	
}
